package User;

import Book.BookList;
import Operation.IOperation;

public abstract class User {
    protected String name;
    protected IOperation[] ioperations;

    public User(String name) {
        this.name = name;
    }

    public abstract int menu();
    public void doWork(int choose, BookList bookList) {
        ioperations[choose].work(bookList);
    }
}
